<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
		<title>223</title>
		<style type="text/css">
			.bshare {
				overflow: ;
			}

			.bshare a {
				float: left;
				width: 32px;
				line-height: 32px;
				height: 32px;
				background-image: url(./images/icons_0_32.png);
				background-repeat: no-repeat;
				cursor: pointer;
				margin: 6px 6px 6px 0;
				text-indent: -100em;
				overflow: hidden;
				color: #3a8ceb;
			}

			.bshare-qq {
				background-position: 0 -2652px;
			}

			.bshare-weixin {
				background-position: 0 -1612px;
			}

			.bshare-tsina {
				background-position: 0 -104px;
			}

			.bshare-qzone {
				background-position: 0 -52px;
			}

			.bshare-youdao {
				background-position: 0 -2080px;
			}

			.bshare-douban {
				background-position: 0 -468px;
			}

			.bshare-more {
				color: #333;
			}
		</style>
	</head>
	<body>
		<div class="bshare">
			<a title="分享到QQ空间" href="javascript:;" data-name="qzone" class="bshare-qq">分享到QQ空间</a>
			<a title="分享到新浪微博" href="javascript:;" data-name="sinaminiblog" class="bshare-weixin">分享到新浪微博</a>
			<a title="分享到人人网" href="javascript:;" data-name="renren" class="bshare-tsina">分享到人人网</a>
			<a title="分享到腾讯微博" href="javascript:;" data-name="qqmb" class="bshare-qzone">分享到腾讯微博</a>
			<a title="分享到网易微博" href="javascript:;" data-name="neteasemb" class="bshare-youdao">分享到网易微博</a>
			<a title="分享到网易微博" href="javascript:;" data-name="neteasemb" class="bshare-douban">分享到网易微博</a>
			<a title="更多平台" href="javascript:;" data-name="more" class="bshare-more bshare-more-icon more-style-addthis">更多平台</a>
		</div>
	</body>
	<script type="text/javascript" src="https://libs.baidu.com/jquery/1.8.3/jquery.min.js"></script>
	<script src="plugin/buttonLite.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		$('.bshare a').each(function(item) {
			$(this).on('click', function(event) {
				bShare.addEntry({
					title: $(this).text(),
					url: location.href,
				});
				if ($(this).attr('data-name') != "more") {
					//开始分享
					bShare.share(null, $(this).attr('data-name'), 0)
					return false
				} else {
					bShare.more(null);
					return false
				}
			});
		});
	</script>
</html>
